<form method="POST" action="save_info.php">
<table>
	<tr>
		 <td>
			Name
		</td>
		<td>
			<input name="name" type="text" value="<?= $this->name ?>" />
		</td>
	</tr>
	<tr>
		<td>
			Address
		</td>
		<td>
			<input name="address" type="text" value="<?= $this->address ?>" />
		</td>
	</tr>	
	<tr>
		<td>
			Hometown
		</td>
		<td>
			<input name="hometown" type="text" value="<?= $this->hometown ?>" />
		</td>
	</tr>
	<tr>
		<td>
			Current City
		</td>
		<td>
			<input name="current_city" type="text" value="<?= $this->current_city ?>" />
		</td>
	</tr>	
	<tr>
		<td>
			Gender
		</td>
		<td>
			<select name="gender">
				<option value="m" <?= $this->gender == "m" ? "selected='true'" : "" ?>>Male</option>
				<option value="f" <?= $this->gender != "m" ? "selected='true'" : "" ?>>Female</option>
			</select>
		</td>
	</tr>	
	<tr>
		<td>
			Birthday
		</td>
		<td>
			<input name="birthdate" type="text" value="<?= $this->birthdate ?>" />
		</td>
	</tr>	
	<tr>
		<td>
			About Me
		</td>
		<td>
			<input name="about_me" type="text" value="<?= $this->about_me ?>" />
		</td>
	</tr>
	<tr>
		<td>
			Status
		</td>
		<td>
			<select name="relationship_status" style="width:150px">
				<option value="single" <?= $this->relationship_status == "single" ? "selected='true'" : "" ?>>Single</option>
				<option value="married" <?= $this->relationship_status == "married" ? "selected='true'" : "" ?>>Married</option>
				<option value="domestic partnership" <?= $this->relationship_status == "domestic partnership" ? "selected='true'" : "" ?>>Domestic Partnership</option>
				<option value="divorced">Divorced <?= $this->relationship_status == "divorced" ? "selected='true'" : "" ?></option>
				<option value="separated" <?= $this->relationship_status == "separated" ? "selected='true'" : "" ?>>Separated</option>
				<option value="its complicated" <?= $this->relationship_status == "its complicated" ? "selected='true'" : "" ?>>It's complicated</option>
			</select>
		</td>
	</tr>	
	<tr>
		<td>
			Email
		</td>
		<td>
			<input name="email_ad1" type="text" value="<?= $this->email_ad1 ?>" />
		</td>
	</tr>	
	<tr>
		<td>
			Email 2
		</td>
		<td>
			<input name="email_ad2" type="text" value="<?= $this->email_ad2 ?>" />
		</td>
	</tr>		
	<tr>
		<td>
			Phone
		</td>
		<td>
			<input name="phone_number1" type="text" value="<?= $this->phone_number1 ?>" />
		</td>
	</tr>	
	<tr>
		<td>
			Phone 2
		</td>
		<td>
			<input name="phone_number2" type="text" value="<?= $this->phone_number2 ?>" />
		</td>
	</tr>	
	<tr>
		<td>
			Website
		</td>
		<td>
			<input name="website" type="text" value="<?= $this->website ?>" />
		</td>
	</tr>		
</table>
<input type="submit" value="Save" />
</form>